<?php
/**
 * Created by PhpStorm.
 * User: Vlad
 * Date: 2/8/14
 * Time: 3:47 PM
 */

abstract class BaseModel
{
    protected function PopulateFromRow($row)
    {
        foreach ($row as $key => $value)
        {
            $this->$key = $value;
        }
    }
}
